function [Tnew, Vel] = velocity_evaluate_func(filepath)
    coeff_of_pixel2meter_x = 4/964;
    coeff_of_pixel2meter_y = 5/1292;
    data = textread(filepath);
    T = data(:,1);
    XY = data(:,2:3);
    dXY = XY(2:end,:) - XY(1:end-1,:);
    dT = T(2:end,:) - T(1:end-1,:);
    Tnew = T(1:end-1);
    dXYmeters = [coeff_of_pixel2meter_x*dXY(:,1), coeff_of_pixel2meter_y*dXY(:,2)];
    Vel = sum(abs(dXYmeters).^2,2).^(1/2)./dT;
end

